﻿namespace PPSMS_Model
{
    /// <summary>
    /// 电站数据统计表
    /// </summary>
    public class StationStatistics
    {
        /// <summary>
        /// ID主键自增
        /// </summary>
        public long ID { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public string? Date { get; set; }
        /// <summary>
        /// 电站累计发电量
        /// </summary>
        public double? TotalEnergyProduced { get; set; }
        /// <summary>
        /// 电站累计收益
        /// </summary>
        public double? TotalRevenue { get; set; }
        /// <summary>
        /// 累计二氧化碳减排
        /// </summary>
        public double? Co2Reduction { get; set; }
    }
    /*
     CREATE TABLE IF NOT EXISTS STATION_STATISTICS (
        ID INTEGER PRIMARY KEY AUTOINCREMENT,--ID主键自增
        DATE TEXT,--日期
        TOTAL_ENERGY_PRODUCED REAL,--电站累计发电量
        TOTAL_REVENUE REAL,--电站累计收益
        CO2_REDUCTION REAL--累计二氧化碳减排
    );--电站数据统计表*/
}
